package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the APPINTEGRATE database table.
 * 
 */
@Entity
@Table(name="APPINTEGRATE")
public class Appintegrate implements Serializable {
	private static final long serialVersionUID = 1L;
	private long integrationid;
	private String fromkey;
	private String fromobj;
	private String fromschema;
	private String tokey;
	private String toobj;
	private String toschema;

    public Appintegrate() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(unique=true, nullable=false)
	public long getIntegrationid() {
		return this.integrationid;
	}

	public void setIntegrationid(long integrationid) {
		this.integrationid = integrationid;
	}


	@Column(nullable=false, length=4000)
	public String getFromkey() {
		return this.fromkey;
	}

	public void setFromkey(String fromkey) {
		this.fromkey = fromkey;
	}


	@Column(nullable=false, length=128)
	public String getFromobj() {
		return this.fromobj;
	}

	public void setFromobj(String fromobj) {
		this.fromobj = fromobj;
	}


	@Column(nullable=false, length=128)
	public String getFromschema() {
		return this.fromschema;
	}

	public void setFromschema(String fromschema) {
		this.fromschema = fromschema;
	}


	@Column(nullable=false, length=4000)
	public String getTokey() {
		return this.tokey;
	}

	public void setTokey(String tokey) {
		this.tokey = tokey;
	}


	@Column(nullable=false, length=128)
	public String getToobj() {
		return this.toobj;
	}

	public void setToobj(String toobj) {
		this.toobj = toobj;
	}


	@Column(nullable=false, length=128)
	public String getToschema() {
		return this.toschema;
	}

	public void setToschema(String toschema) {
		this.toschema = toschema;
	}

}